

package com.jsu.collegestudentadmissionsystem.pojo.vo;

public class StudentInformation {
    private Integer studentId;
    private String studentName;
    private String gender;
    private String birthday;
    private String middleSchoolName;
    private Integer classId;
    private String firstCourse;
    private String secondCourse;
    private String thirdCouse;

    public StudentInformation(){
    }

    public StudentInformation(Integer studentId,String studentName,String gender,String birthday,String middleSchoolName,Integer classId,String firstCourse,String secondCourse,String thirdCouse){
        this.studentId= studentId;
        this.studentName= studentName;
        this.gender= gender;
        this.birthday= birthday;
        this.middleSchoolName= middleSchoolName;
        this.classId= classId;
        this.firstCourse=firstCourse;
        this.secondCourse=secondCourse;
        this.thirdCouse= thirdCouse;
    }

    public String getGender() { return gender; }

    public void setGender(String gender) { this.gender = gender; }

    public Integer getClassId() { return classId; }

    public void setClassId(Integer classId) { this.classId = classId; }

    public String getStudentName() { return studentName; }

    public void setStudentName(String studentName) { this.studentName = studentName; }

    public Integer getStudentId() { return studentId; }

    public void setStudentId(Integer studentId) { this.studentId = studentId; }

    public String getBirthday() { return birthday; }

    public void setBirthday(String birthday) { this.birthday = birthday; }

    @Override
    public String toString() {
//        return "StudentInformation{" +
//                "studentId=" + studentId +
//                ", studentName='" + studentName + '\'' +
//                ", gender='" + gender + '\'' +
//                ", schoolId='" + schoolId + '\'' +
//                ", classId='" + classId + '\'' +
//                '}';
        return  "学号：" + studentId +
                ", 姓名：'" + studentName + '\'' +
                ", 性别：'" + gender + '\'' +
                ", 出生日期：'" + birthday + '\'' +
                ", 所属中学'" + middleSchoolName + '\'' +
                ", 所属班级：'" + classId + '\'' +
                ", 所选科目：'" + firstCourse+'、'+secondCourse+'、'+thirdCouse + '\'' +
                "\n";
    }

    public String getFirstCourse() {
        return firstCourse;
    }

    public void setFirstCourse(String firstCourse) {
        this.firstCourse = firstCourse;
    }

    public String getSecondCourse() {
        return secondCourse;
    }

    public void setSecondCourse(String secondCourse) {
        this.secondCourse = secondCourse;
    }

    public String getThirdCouse() {
        return thirdCouse;
    }

    public void setThirdCouse(String thirdCouse) {
        this.thirdCouse = thirdCouse;
    }

    public String getMiddleSchoolName() {
        return middleSchoolName;
    }

    public void setMiddleSchoolName(String middleSchoolName) {
        this.middleSchoolName = middleSchoolName;
    }
}

